#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
	int arr1[6] = { 1, 2 ,3,4,5,6 };
	int arr2[6] = { 2,3,4,5,6,7 };
	int arr3[6] = {0};
	
	
	for (int i = 0; i < 6; i++)
	{
		arr3[i] = arr1[i];
		arr1[i] = arr2[i];
		arr2[i] = arr3[i];
	}
	printf("arr1=");
	for (int i = 0; i < 6; i++)
	{
		printf("%d", arr1[i]);
	}
	printf("\n");
	printf("arr2=");
	for (int i = 0; i < 6; i++)
	{
		printf("%d", arr2[i]);
	}
	printf("\n");

	return 0;
}